You have an error in your SQL syntax near 'and file_name = 'function_room.html'' at line 1